//
//  InExContentViewController.h
//  Wallets Manager
//
//  Created by Tung Nguyen on 10/22/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SNPopupView.h"
#import "Income.h"
#import "Expense.h"
#import "folyAppDelegate.h"
#import "DataBaseAccess.h"
#import "AddIncomeViewController.h"
#import "AddExpenseViewController.h"
#import "ViewIncomeViewController.h"
#import "ViewExpenseViewController.h"

@interface InExContentViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,SNPopupViewModalDelegate>
{
    
    SNPopupView		*popup;
    NSIndexPath     *currentIndexPath;
    
    int incomeRowNumber;
    int expenseRowNumber;
    
    Income *currentIncome;
    Expense *currentExpense;
    NSMutableArray *incomeArray;
    NSMutableArray *expenseArray;

}
@property (weak, nonatomic) IBOutlet UITableView *incomeExpenseTableView;
@property (strong, nonatomic) IBOutlet UIView *popUpView;
@property (strong,nonatomic) NSDate *currentDate;
- (IBAction)editButtonPressed:(id)sender;
- (IBAction)deleteButtonPressed:(id)sender;
- (IBAction)viewButtonPressed:(id)sender;

@end
